package com.lf.sys.service;

import java.util.List;

import org.springframework.stereotype.Component;

import com.lf.sys.model.SysMessageDeleted;

@Component
public interface MessageDeletedService {

	public int insert(SysMessageDeleted temp);

	public int delete(long id, long userId);

	public int update(SysMessageDeleted temp);

	public SysMessageDeleted get(long id, long userId);

	public List<SysMessageDeleted> list(long mailId, long userId);

	public List<SysMessageDeleted> list(SysMessageDeleted temp);

	public int insert(List<SysMessageDeleted> temp);

	public List<SysMessageDeleted> listByPage(long userId, long mailId, String colomn, String word, int offset,
			int limit, int... states);

	public int count(long userId, long mailId, String colomn, String word, int... states);

	public List<SysMessageDeleted> listByPage(long userId, String colomn, String word, int offset, int limit,
			int... states);

	public int count(long userId, String colomn, String word, int... states);

}
